package com.lagou.common.pojo;


import com.lagou.common.pojo.constant.OrderStatus;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "order_info")
public class OrderInfo {

  @Id
  private long id;
  private Date createTime;
  private Date updateTime;


  @Convert(converter = OrderStatus.Converter.class)
  @Column
  private Integer status;
  private double amount;
  private long userId;



}
